package com.liruo.treasureattic.common.model.dto.user;

import com.liruo.treasureattic.common.model.constant.TreasureAtticConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Author:liruo
 * @Date:2023-02-15-21:15:42
 * @Desc
 */
@ApiModel("限时1分钟-仅限3次-验证码请求")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CodeReq implements Serializable {
    @ApiModelProperty("登录注册时都是email")
    private String identity;
    @Serial
    private static final long serialVersionUID = TreasureAtticConstant.TREASURE_ATTIC_VERSION;
}
